package com.dyna.digit.process.domain.query;

import com.dyna.constants.DateFatter;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;


/**
 * @author zhoucaiwang
 * @date 2023/11/11
 */
@Data
public class DigitProjQuery {

    @ApiModelProperty(value = "项目名称")
    private String projectName;

    @ApiModelProperty(value = "项目类型")
    private Integer projectType;

    @ApiModelProperty(value = "建设类型")
    private Integer projBuildCategory;

    @ApiModelProperty(value = "财政预算年份")
    private Integer year;

    @ApiModelProperty("主管部门")
    private Integer baseManDept;

    @ApiModelProperty(value = "项目状态")
    private Integer status;

    @ApiModelProperty(value = "当前流程")
    private Integer currentFlow;

    @ApiModelProperty(value = "申报开始时间")
    @JsonFormat(pattern = DateFatter.YYYY_MM_DD)
    private LocalDate declareStartTime;

    @ApiModelProperty(value = "申报结束时间")
    @JsonFormat(pattern = DateFatter.YYYY_MM_DD)
    private LocalDate declareEndTime;

    @ApiModelProperty(value = "页码")
    private Integer pageNum = 1;

    @ApiModelProperty(value = "码数")
    private Integer pageSize = 10;

}
